<template>
  <editForm />
</template>
<script setup lang="ts">
import editForm from './editForm.vue'
const pageType = ref('')  //页面类型
const { query } = useRoute() // 路由的查询
onMounted(() => {
  pageType.value = (query as any).type
})
</script>